package com.webservice.xmloper.activeinfo;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamConverter;

/**
 * CPU 
 * @author Administrator
 *
 */
@XStreamAlias("cpu")
@XStreamConverter(CpuConvertor.class)
public class CpuObject {
	
	/**
	 * CPU利用率
	 */
	private Float cpu;

	public Float getCpu() {
		return cpu;
	}

	public void setCpu(Float cpu) {
		this.cpu = cpu;
	}

	public CpuObject() {
		super();
	}

	public CpuObject(Float cpu) {
		super();
		this.cpu = cpu==null ? new Float(0.00) : cpu ;
		
	}
}
